package com.derbysoft.synxisadapter.commons.repository.impl;

import com.derbysoft.synxisadapter.commons.model.Hotel;
import org.apache.commons.lang.StringUtils;

/**
 * User: jason
 * Date: 2013-01-25
 */
public class HotelCondition {
    private String passport;

    private String name;

    private String id;

    private Hotel.Status status;

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = StringUtils.trimToNull(passport);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = StringUtils.trimToNull(name);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = StringUtils.trimToNull(id);
    }

    public Hotel.Status getStatus() {
        return status;
    }

    public void setStatus(Hotel.Status status) {
        this.status = status;
    }

}